package com.yidu.hbatsft.dao;

import com.yidu.hbatsft.domain.AtsBaseSportItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AtsBaseSportItemMapper {
    int deleteByPrimaryKey(Integer siId);

    int insert(AtsBaseSportItem record);

    int insertSelective(AtsBaseSportItem record);

    AtsBaseSportItem selectByPrimaryKey(Integer siId);

    int updateByPrimaryKeySelective(AtsBaseSportItem record);

    int updateByPrimaryKey(AtsBaseSportItem record);

    List<AtsBaseSportItem> selectAll();

    List<AtsBaseSportItem> selectSportId(Integer integer);

    List<AtsBaseSportItem> findId(Integer integer);

    List<AtsBaseSportItem> findPId(Integer integer);

    /**
     * 根据体育项目ID
     * @param sportId
     * @return
     */
    List<AtsBaseSportItem> selectId(@Param("sportId") Integer sportId, @Param("isva") Integer isva);
}